import React from 'react';
import { MyContext } from '../Mycontext/MyContext';
const Item = (props) => {
    return (
        <div>
           <MyContext.Consumer>
               {value=><div>{value}</div>}
           </MyContext.Consumer>
        </div>
    );
}

export default Item;
